package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.WorkflowProduct;

import java.util.List;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/19 - 下午4:18
 */
public interface WorkflowProductMapper {
    /**
     *
     * @param workflowProduct
     * @return
     */
    List<WorkflowProduct> selectList(WorkflowProduct workflowProduct);

    /**
     *
     * @param workflowProduct
     * @return
     */
    int saveWorkflowProduct(WorkflowProduct workflowProduct);

    /**
     *
     * @param id
     * @return
     */
    WorkflowProduct selectById(Long id);

    /**
     *
     * @param workflowProduct
     * @return
     */
    int updateById(WorkflowProduct workflowProduct);

    /**
     *
     * @param id
     * @return
     */
    int deleteById(Long id);

    /**
     *
     * @param ids
     * @return
     */
    int batchDelete(Long[] ids);
}
